prepare("insert into voters(member,vote_value,proof_image,voter)values(:a,:b,:c,:d)") ; $sql->bindparam(":a",$adm) ; $sql->bindparam(":b",$vval) ; $sql->bindparam(":c",$NewImageName) ; $sql->bindparam(":d",$vot) ; $sql->execute() ; $_SESSION['imgname'] = $NewImageName ; $msg[] = 'Proof Uploaded Successfully' ; } else { $msg[] = 'Some thing went long while Uploading Your Proof, Make sure the Picture is not too Large and try again' ; } } } ?>